<style>
    .thbg{
        background:#E9E9E9;
    }
    table tr th,td{
        height: 35px;
        padding: 5px;
    }
  /*  table tr:nth-child(even){
        background: #dedede;
    }*/
    tbody tr td:nth-child(odd){
        font-weight: 600;
    }
</style>
        <div class="row text-center">
            <h3>{$row.name|htmlentities}</h3>
        </div>
        <table border="1" cellspacing="0" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
            <tbody style="font-size: 14px;" >

                <tr>
                    <td colspan="1" style="width:17%;text-align: center;">总投资</td>
                    <td colspan="1"  style="width:17%;text-align: center;">{$row.investment_total}</td>
                    <td colspan="1"  style="width:17%;text-align: center;">计划准入时间</td>
                    <td colspan="1"  style="width:16%;text-align: center;">{$row.access_time_text}</td>
                    <!-- <td colspan="1"  style="width:17%;text-align: center;">计划签约时间</td>
                    <td colspan="1"  style="width:16%;text-align: center;">{$row.sign_time_text}</td> -->
                    <td colspan="1"  style="width:17%;text-align: center;">科室责任人</td>
                    <td colspan="1"  style="width:16%;text-align: center;">{$row.contact_name}</td>
                    
                </tr>
                <tr>
                    <td colspan="1">项目简介</td>
                    <td colspan="5">{$row.summary}</td>
                </tr>

                <tr>
                    <td colspan="1">接洽时间</td>
                    <td colspan="1">{$row.receive_time_text}</td>
                    <td colspan="1">责任单位</td>
                    <td colspan="1">{$row.chargedep_names}</td>
                    <td colspan="1">区领导</td>
                    <td colspan="1">{$row.leader_names}</td>
                </tr>

                <tr>
                    <td colspan="1">投资方地区</td>
                    <td colspan="1">{$row.investment_area}</td>
                    <td colspan="1">落户街道</td>
                    <td colspan="1">{$row.settle_street_names}</td>
                    <td colspan="1">{:__('Centraloffice_id')}</td>
                    <td colspan="1">{$row.centraloffice_name}</td>
                </tr>
                <tr>
                    <td colspan="1">当前状态</td>
                    <td colspan="1">{$row.state}</td>
                    <td colspan="1">{if $row.current_state_time_text != '-'}时间{else}-{/if}</td>
                    <td colspan="1">{$row.current_state_time_text}</td>
                    <td colspan="1">{if $row.state == '终止' && $row.stop_reason != ''}终止原因{else}-{/if}</td>
                    <td colspan="1">{if $row.state == '终止' && $row.stop_reason != ''}{$row.stop_reason}{else}-{/if}</td>
                </tr>
                <!-- <tr>
                    <td colspan="1">科室责任人</td>
                    <td colspan="5">{$row.contact_name}</td>
                </tr> -->                
                <tr>
                    <td colspan="1">进展情况</td>
                    <td colspan="5">{$row.progression}</td>
                </tr>
                <tr>
                    <td colspan="1">存在问题</td>
                    <td colspan="5">{$row.problem}</td>
                </tr>
                <tr>
                    <td colspan="1">下一步措施</td>
                    <td colspan="5">{$row.next_measure}</td>
                </tr>
            </tbody>
        </table>

{if $is_norecords == '0'}

<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">所有接洽记录</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>接洽时间</th>
            <th>接洽领导</th>
            <th>详情</th>
        </tr>
        {volist name='records' id='vo'}
        <tr {eq name="vo.id" value="$row.id"}class="text-danger"{/eq}>
            <td class="text-center">{$vo.receive_time_text}</td>
            <td class="text-center">{$vo.leader_names}</td>
            <td class="text-center"><a href="javascript:;" class="btn-success btn-sm info" data-name="详情-{$vo.receive_time_text}" data-ids="{$vo.id}">详情</a></td>
        </tr>
        {/volist}
    </table>
</div>

{if $progress_list}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">进展情况</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>进展详情</th>
            <th>存在问题</th>
            <th>下一步措施</th>
            <th>进展时间</th>
            <th>操作</th>
        </tr>
        {volist name='progress_list' id='vo'}
        <tr {eq name="vo.id" value="$row.id"}class="text-danger"{/eq}>
        <td class="text-center" style="width: 35%">{$vo.content}</td>
        <td class="text-center" style="width: 20%">{$vo.problem}</td>
        <td class="text-center" style="width: 30%">{$vo.next_measure}</td>
        <td class="text-center">{$vo.progress_time_text}</td>
        <td class="text-center"><a href="centralcontact/editprogress/ids/{$vo.id}" class="btn-success btn-sm edit btn-dialog" data-name="编辑-{$vo.progress_time_text}" title="编辑" data-ids="{$vo.id}">编辑</a></td>
        </tr>
        {/volist}
    </table>
</div>
{/if}
{/if}